.synthesisHistory {
  flex: 1;
  height: 100%;
  padding: 16px;

  .voiceContentList {
    max-height: 100%;
    overflow: auto;

    &.center {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .audioItem {
      margin-bottom: 16px;
      border-radius: 12px;
      height: 56px;
      border: 1px solid var(--border-color);
      // height: 100%;
      width: 100%;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 24px;
      padding-left: 24px;
      padding-right: 12px;

      .audioItemTitle {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 4px;
      }
      .audioDeviceType {
        color: rgba(255, 255, 255, 1);
        width: 140px;
      }
    }

    .roleSelect {
      width: 120px;
    }
    .audioContent {
      flex: 1;
      height: 100%;
      width: 100%;
      display: flex;
      justify-content: flex-start;
      align-items: center;

      .audioElement {
        width: 100%;
        height: 100%;
      }
    }

    .otherActions {
      position: relative;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      gap: 8px;
    }
    .downLoadButton {
      // width: 58px;
      height: 24px;
      border-radius: 4px;
      background-color: rgba(255, 255, 255, 0.1);
      color: rgba(255, 255, 255, 0.8);
      font-size: 12px;
      cursor: var(--pointer);
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 8px;
      .downloadIcon {
        width: 14px;
        height: 14px;
        transform: translateY(-4px);
        margin-right: 4px;
      }
      &:hover {
        background-color: rgba(255, 255, 255, 0.2);
      }
    }

    .otherActionsButton {
      width: 24px;
      height: 24px;
      border: none;
      border-radius: 4px;
      background-color: rgba(255, 255, 255, 0.1);
      color: rgba(255, 255, 255, 0.8);
      font-size: 14px;
      cursor: var(--pointer);
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;

      &:hover {
        background-color: rgba(255, 255, 255, 0.2);
      }
    }
  }
}
.audioPopover {
  :global(.arco-popover-content) {
    padding: 8px;
  }
}
.popoverContent {
  border-radius: 4px;
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
  color: rgba(224, 220, 224, 0.8);
  li {
    color: rgba(224, 220, 224, 0.8);
    font-size: 14px;
    line-height: 20px;
    width: 120px;
    cursor: var(--pointer);
    padding: 8px;
    border-radius: 4px;

    &:hover {
      background-color: rgba(255, 255, 255, 0.2);
    }
  }

}
// 画笔尺寸相关样式
.brushSizeContainer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 24px;
  .brushSizeWrapper {
    display: flex;
    // width: 436px;
    width: 100%;
    height: 32px;
    gap: 8px;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    .brushSizeSliderContainer {
      height: 100%;
      display: flex;
      gap: 10px;
      align-items: center;
      flex: 1;
      padding: 0 8px;
      background: rgba(42, 44, 48, 1);
      border-radius: 4px;
      .slider {
        flex: 1;

        :global(.arco-slider-road::before) {
            background-color: rgba(255, 255, 255, 0.2);
        }
        :global(.arco-slider-bar){
            background-color: rgba(255, 255, 255, 0.6);
        }
        :global(.arco-slider-button::after) {
            width: 14px;
            height: 14px;
            background: rgb(42, 44, 48);
            border: 4px solid #fff;
        }
      }
      .brushSizeIcon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        .brushSizeIconSmall {
        //   width: 4px;
        //   height: 4px;
        //   background: #fff;
        //   border-radius: 50%;
        }
        .brushSizeIconLarge {
        //   width: 16px;
        //   height: 16px;
        //   background: #fff;
        //   border-radius: 50%;
        }
      }
    }
    .brushSizeInput {
      width: 160px;
      height: 32px;
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 11.5px;
      border-radius: 4px;
    }
  }
}
